<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
<!--
body {
	margin-left: 3px;
	margin-top: 0px;
	margin-right: 3px;
	margin-bottom: 0px;
}
.STYLE1 {
	color: #e1e2e3;
	font-size: 12px;
}
.STYLE6 {color: #000000; font-size: 12; }
.STYLE10 {color: #000000; font-size: 12px; }
.STYLE19 {
	color: #344b50;
	font-size: 12px;
}
.STYLE21 {
	font-size: 12px;
	color: #3b6375;
}
.STYLE22 {
	font-size: 12px;
	color: #295568;
}
-->
</style>
</head>

<body>
<form action="bbsUserInfo_updateInfo.do" method="post">
	<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
	  <tr>
	    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
	      <tr>
	        <td height="24" bgcolor="#353c44"><table width="100%" border="0" cellspacing="0" cellpadding="0">
	          <tr>
	            <td>
	            <table width="100%" border="0" cellspacing="0" cellpadding="0">
	              <tr>
	                <td width="6%" height="19" valign="bottom"><div align="center"><img src="images/tb.gif" width="14" height="14" /></div></td>
	                <td width="94%" valign="bottom"><span class="STYLE1"> 编辑用户信息</span></td>
	              </tr>
	            </table></td>
	           
	          </tr>
	        </table></td>
	      </tr>
	    </table></td>
	  </tr>
	  
	  <tr>
		    <td>
			    <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#a8c7ce">
			    <input type="hidden" name="page" value="${page }"/>
			    <input type="hidden" name="bbsUserInfo.userid" value="${bbsUserInfo.userid}"/>
			    <input type="hidden" name="bbsUserInfo.password" value="${bbsUserInfo.password}"/>
			      <tr>
			        <td width="20%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">用户名</span></div></td>
			        <td  width="80%" height="" bgcolor="#FFFFFF" class="STYLE6" >
			        <input type="text"  name="bbsUserInfo.username" id="username" style="width: 100%;" value="${bbsUserInfo.username}" readonly="readonly"/>
			        	
			      </tr>
			      <tr>
			        <td width="15%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">用户邮箱</span></div></td>
			        <td height="20" bgcolor="#FFFFFF" class="STYLE19">
			        	 <input type="text"  name="bbsUserInfo.email" id="username" style="width: 100%;" value="${bbsUserInfo.email}" readonly="readonly"/>
			        </td>
			      </tr>
				<tr>
					 <td width="15%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">用户性别</span></div></td>
						 <td height="20" bgcolor="#FFFFFF" class="STYLE19">
							<s:select list="#{0:'男',1:'女'}"  value="#{bbsUserInfo.userSex}"  theme="simple" name="bbsUserInfo.userSex"/>
						 </td>
				</tr>
				<tr>	
						 <td width="15%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">用户级别</span></div></td>
						 <td height="20" bgcolor="#FFFFFF" class="STYLE19">
						 
						<s:select list="#{1:'初级会员',2:'中级会员',3:'高级会员',4:'版主',5:'系统管理员'}"  value="#{bbsUserInfo.userLevel}"  theme="simple" name="bbsUserInfo.userLevel"/>
						 
						 </td>
				</tr>
				<tr>
						<td width="15%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">用户状态</span></div></td>
						 <td height="20" bgcolor="#FFFFFF" class="STYLE19">
						 	<s:select list="#{0:'锁定',1:'未锁定'}"  value="#{bbsUserInfo.userState}"  theme="simple" name="bbsUserInfo.userState"/>
						 </td>
				</tr>
				
				<tr>
						 <td width="15%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">用户积分</div></td>
						 <td height="20" bgcolor="#FFFFFF" class="STYLE19">
						  <input type="text"  name="bbsUserInfo.userIntergral" id="userIntergral" style="width: 100%;" value="${bbsUserInfo.userIntergral}" readonly="readonly"/>
						 </td>
				</tr>
				<tr>
						<td width="15%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">注册时间</span></div></td>
						<td height="20" bgcolor="#FFFFFF" class="STYLE19">
						  <input type="text"  name="bbsUserInfo.userRegisterTime" id="userRegisterTime" style="width: 100%;" value="${bbsUserInfo.userRegisterTime}" readonly="readonly"/>
						</td>
				</tr>
				<tr>
					<td colspan="2" bgcolor="#FFFFFF" height="20"><div align="center"><input type="submit" value="提交"></input> </div></td>
				</tr>
			    </table>
		   </td>
	  </tr>
	</table>
   </td>
  </tr>
</table>
</form>
</body>
</html>